<?
function __autoload($class_name){
    require_once $class_name . '.inc';
}

require_once 'php-gettext/gettext.inc';

$gconfig=new Config();

require_once 'config/default.inc';
require_once 'smarty/Smarty.class.php';

$galleree=new Galleree();
$chrome=new Chrome();

$smarty=new Smarty();
$smarty->template_dir=$gconfig->template_dir . '/' . $gconfig->template;
$smarty->compile_dir=$gconfig->template_cache_dir;
$smarty->assign('chrome', $chrome);
?>